package com.jyk.blog.mapper;

import com.jyk.blog.po.Type;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TypeMapper {
    List<Type> findAll();
    Type findById(int id);
    Type findByName(String name);
    void insertOne(String typeName);
    void deleteOne(Type type);
}
